package command

import (
	"fmt"
	"github.com/spf13/cobra"
)

func UpdateCommand() *cobra.Command {
	command := &cobra.Command{
		Use:   "update",
		Short: "更新GeekROS至最新版本",
		Long: "更新GeekROS至最新版本",
		Example: "geekros update",
		Args: func(cmd *cobra.Command, args []string) error {
			return nil
		},
		Run: func(cmd *cobra.Command, args []string) {
			fmt.Println("开始更新GeekROS，请稍后")
		},
	}
	return command
}

